#include "DataType.h"

namespace DataType {
    int sum(int a, int b) {
        return a + b;
    }

    PersonRecord getUser() {
        PersonRecord user = {
            .name = "google",
            .age = 30,
        };

        return user;
    }

    PersonRecord setUser(PersonRecord p1) {
        PersonRecord p2 = {
            .name = "Google",
            .age = 31,
        };

        p2.age = p1.age;
        p2.name = p1.name;

        return p2;
    }

    std::vector<int> getVector()
    {
        std::vector<int> vec;
        vec.push_back(1);
        vec.push_back(3);
        vec.push_back(4);

        return vec;
    }
}